import request from '@/utils/request'

// 运费模板列表
export const getCarriagesList = () => {
  return request.get('/manager/carriages')
}

// 新增/修改运费模板
export const postCarriagesList = (data) => {
  return request.post('/manager/carriages', data)
}

// 删除运费模板
export const delCarriages = (id) => {
  return request.delete(`/manager/carriages/${id}`)
}
